package com.kgis.fm.platform.model.metadata;

import com.kgis.kp.model.LifecycleModel;

/**
 * 设备组件优化表
 * 
 * @author zhxiaomiao
 * @version
 */
public class FeatureCompsOptable extends LifecycleModel {
	
	private static final long serialVersionUID = 1L;
	
	private int id;
	private int fno;
	private int cno;
	/**
	 * 是否必须组件
	 */
	private boolean isRequired;
	/**
	 * 是否可重复
	 */
	private boolean isRepeating;
	/**
	 * 是否自动重复
	 */
	private boolean isAutorepeat;
	private int ordinal;
	private String ctableName;
	private short ctype;
	/**
	 * 是否长事务
	 */
	private boolean isLtt;
	

	public int getFno() {
		return fno;
	}

	public void setFno(int fno) {
		this.fno = fno;
	}

	public int getCno() {
		return cno;
	}

	public void setCno(int cno) {
		this.cno = cno;
	}

	public int getId() {
		return id;
	}

	public void setId(int fcno) {
		this.id = fcno;
	}

	public boolean isRequired() {
		return isRequired;
	}

	public void setRequired(boolean isRequired) {
		this.isRequired = isRequired;
	}

	public boolean isRepeating() {
		return isRepeating;
	}

	public void setRepeating(boolean isRepeating) {
		this.isRepeating = isRepeating;
	}

	public boolean isAutorepeat() {
		return isAutorepeat;
	}

	public void setAutorepeat(boolean isAutorepeat) {
		this.isAutorepeat = isAutorepeat;
	}

	public int getOrdinal() {
		return ordinal;
	}

	public void setOrdinal(int ordinal) {
		this.ordinal = ordinal;
	}

	public String getCtableName() {
		return ctableName;
	}

	public void setCtableName(String ctableName) {
		this.ctableName = ctableName;
	}

	public short getCtype() {
		return ctype;
	}

	public void setCtype(short ctype) {
		this.ctype = ctype;
	}

	public boolean isLtt() {
		return isLtt;
	}

	public void setLtt(boolean isLtt) {
		this.isLtt = isLtt;
	}
}
